//
//  WRSOpenFaceEngine.h
//  WRSFaceBiz
//
//  Created by 温日盛 on 2025/10/9.
//

#import <Foundation/Foundation.h>
#import <WRSFace/WRSCompareResult.h>
#import <WRSFace/WRSFaceInfo.h>

NS_ASSUME_NONNULL_BEGIN

@interface WRSOpenFaceEngine : NSObject

+ (long)faceEngineInit:(NSString *)resourcePath dbPath:(NSString *)dbPath code:(NSString *)code;

+ (int64_t)registerPersonWithUrl:(NSString *)url;
// 从数据库里搜素静态图片的用户
+ (NSArray<NSNumber *> *__nullable)hubCompareImage:(NSString *)url;
+ (BOOL)deleteUserByID:(int64_t)faceID;
+ (signed int)getTotalCount;
+ (void)setSearchHubThreshold:(float)threshold;
+ (float)getSearchHubThreshold;
+ (WRSCompareResult *)compareFaceWithUrl1:(NSString *)url1 url2:(NSString *)url2;
+ (WRSFaceInfo *)getFaceInfo:(NSString *)url;
+ (BOOL)isDevEnv;

+ (void)test;

@end

NS_ASSUME_NONNULL_END
